#ifndef frm_control_TSelectBox_H
#define frm_control_TSelectBox_H

#include "frm_control_TLine.h"

namespace frm { namespace control {

///////////////////////////////////////////////////////////////////////////////

struct TSelectBox : public TLine
{
  TSelectBox(TWindow &Window);

protected:
  virtual void TSelectBox_BeforeShowBox(TPanel *Client) {}
  virtual void TComponent_KeyboardChar(grf::TKeyboardChar &KeyboardChar);
  
private:  
  struct TWindow : public control::TWindow//, public TPanel::TEvents
  {
    TSelectBox &SelectBox;
    TPanel     *Client1;
    //
    TWindow(TSelectBox &SelectBox);
    //
    void ShowModal();
    
  protected:  
    //virtual void TEvents_KeyboardKey(TEvKeyboardKey &Param);
  };
};

///////////////////////////////////////////////////////////////////////////////
}}

#endif
